'use strict';
const db = uniCloud.database();
const noteDb = db.collection('note');
exports.main = async (event, context) => {
	let addNoteRes = await noteDb.add(event);
	return addNoteRes;
};